package com.tencreat.domain.mall.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author Administrator
 */
@Setter
@Getter
@Data
public class TotalOrderStatisticsVO implements Serializable {


    //代采购充值
    @ApiModelProperty(value = "消费券充值总金额||代采购充值统计明细")
    private BigDecimal rechargeAmount;

    //实体店消费券核销统计:{店铺订单总金额+店铺扫码订单总金额-店铺订单已退款-店铺订单取消支付}
    @ApiModelProperty(value = "实体店消费券核销统计")
    private BigDecimal storeConsumeRoll;

    @ApiModelProperty(value = "店铺订单总金额")
    private BigDecimal storeOrderTotalAmount;

    @ApiModelProperty(value = "店铺扫码订单总金额")
    private BigDecimal storeScanOrderTotalAmount;

    @ApiModelProperty(value = "店铺订单已退款")
    private BigDecimal storeOrderRefunded;

    @ApiModelProperty(value = "店铺订单取消支付")
    private BigDecimal storeOrderCancelPayment;

    //自营商城消费券核销统计:{订单管理订单总金额-订单管理已取消订单-订单管理已退款订单}
    @ApiModelProperty(value = "自营商城消费券核销统计")
    private BigDecimal shopConsumeRoll;

    @ApiModelProperty(value = "自营商城订单管理订单总金额")
    private BigDecimal shopTotalOrderRevenue;

    @ApiModelProperty(value = "自营商城订单管理已取消订单金额")
    private BigDecimal shopOrderCancelPayment;

    @ApiModelProperty(value = "自营商城订单管理已退款订单金额")
    private BigDecimal shopOrderRefunded;

    //未核销消费券统计明细:{消费券充值总金额-实体店消费劵核销统计-自营商城消费劵核销统计}
    @ApiModelProperty(value = "未核销消费券统计明细")
    private BigDecimal waitConsumeRoll;

    //消费券核销账户  消费券充值总金额*50%
    @ApiModelProperty(value = "消费券核销账户")
    private BigDecimal verificationConsumeRoll;

    //提货单核销账户  消费券充值总金额*35%
    @ApiModelProperty(value = "提货单核销账户")
    private BigDecimal verificationGoodsRoll;

    //公司管理费收益账户  消费券充值总金额*1%
    @ApiModelProperty(value = "公司管理费收益账户")
    private BigDecimal management;

    //保证金账户  消费券充值总金额*10%
    @ApiModelProperty(value = "保证金账户")
    private BigDecimal earnestMoney;

    //运营账户  消费券充值总金额*4%
    @ApiModelProperty(value = "运营账户")
    private BigDecimal operator;

    //消费券已使用总额：{实体店消费劵核销统计+自营商城消费劵核销统计}
    @ApiModelProperty(value = "消费券已使用总额")
    private BigDecimal useConsumeRoll;


    //消费券已使用总额：支付-退款
    private  BigDecimal useTotalConsumeRoll;


    @ApiModelProperty(value = "退款金额")
    private BigDecimal refund;

    //实体店：实体店消费劵核销统计*50%
    @ApiModelProperty(value = "实体店")
    private BigDecimal storeTotal;

    //自营商城：自营商城消费劵核销统计*30%
    @ApiModelProperty(value = "自营商城")
    private BigDecimal shopTotal;

    //消费券现金余额：{消费券已使用总额*50%}-{实体店+自营商城}
    @ApiModelProperty(value = "消费券现金余额")
    private BigDecimal cash;


    //提货单
    @ApiModelProperty(value = "提货单赠送总额")
    private  BigDecimal presentsGoodsRoll;

    @ApiModelProperty(value = "提货单未核销总额")
    private  BigDecimal waitGoodsRoll;

    @ApiModelProperty(value = "提货单已核销总额")
    private  BigDecimal goodsRoll;

}
